package com.dds.system.domain.union;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dds.common.annotation.Excel;
import com.dds.common.core.domain.BaseEntity;

/**
 * 联盟商家对象 union_shop_index
 * 
 * @author gaolianjie
 * @date 2021-03-31
 */
public class UnionShopIndex extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 联盟商主键 */
    private String shopId;

    /** 企业类型 1个体，2企业 3小微 */
    @Excel(name = "企业类型 1个体，2企业 3小微")
    private String corpType;

    /** 联盟商家状态 10创建中，11已提交，13已通过，14已拒绝，21进件中，22银行已通过,23签约成功,99禁用,25商家重置 */
    @Excel(name = "联盟商家状态 10创建中，11已提交，13已通过，14已拒绝，21进件中，22银行已通过,23签约成功,99禁用,25商家重置")
    private String status;

    /** 签约数据包 */
    @Excel(name = "签约数据包")
    private String cfcaSignData;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 过审时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "过审时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date verifiedTime;

    /** 拒绝时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "拒绝时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refuseTime;

    /** 状态描述。如拒绝原因 */
    @Excel(name = "状态描述。如拒绝原因")
    private String statusDesc;

    /** 商家状态：1上架，0下架 */
    @Excel(name = "商家状态：1上架，0下架")
    private String isShow;

    /** 父级店铺 */
    @Excel(name = "父级店铺")
    private String parentShopId;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 当前服务人员 */
    @Excel(name = "当前服务人员")
    private String serveUser;

    /** 变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "变更时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changeTime;

    /** 二级商户号 */
    @Excel(name = "二级商户号")
    private String merchantId;

    /** 签约短信发送次数 */
    @Excel(name = "签约短信发送次数")
    private Integer signSmsSendCount;

    /** 签约（进件+绑卡）失败的次数 */
    @Excel(name = "签约", readConverterExp = "进=件+绑卡")
    private Integer signFailCount;

    public void setShopId(String shopId) 
    {
        this.shopId = shopId;
    }

    public String getShopId() 
    {
        return shopId;
    }
    public void setCorpType(String corpType) 
    {
        this.corpType = corpType;
    }

    public String getCorpType() 
    {
        return corpType;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCfcaSignData(String cfcaSignData) 
    {
        this.cfcaSignData = cfcaSignData;
    }

    public String getCfcaSignData() 
    {
        return cfcaSignData;
    }
    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }
    public void setVerifiedTime(Date verifiedTime) 
    {
        this.verifiedTime = verifiedTime;
    }

    public Date getVerifiedTime() 
    {
        return verifiedTime;
    }
    public void setRefuseTime(Date refuseTime) 
    {
        this.refuseTime = refuseTime;
    }

    public Date getRefuseTime() 
    {
        return refuseTime;
    }
    public void setStatusDesc(String statusDesc) 
    {
        this.statusDesc = statusDesc;
    }

    public String getStatusDesc() 
    {
        return statusDesc;
    }
    public void setIsShow(String isShow) 
    {
        this.isShow = isShow;
    }

    public String getIsShow() 
    {
        return isShow;
    }
    public void setParentShopId(String parentShopId) 
    {
        this.parentShopId = parentShopId;
    }

    public String getParentShopId() 
    {
        return parentShopId;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setServeUser(String serveUser) 
    {
        this.serveUser = serveUser;
    }

    public String getServeUser() 
    {
        return serveUser;
    }
    public void setChangeTime(Date changeTime) 
    {
        this.changeTime = changeTime;
    }

    public Date getChangeTime() 
    {
        return changeTime;
    }
    public void setMerchantId(String merchantId) 
    {
        this.merchantId = merchantId;
    }

    public String getMerchantId() 
    {
        return merchantId;
    }
    public void setSignSmsSendCount(Integer signSmsSendCount) 
    {
        this.signSmsSendCount = signSmsSendCount;
    }

    public Integer getSignSmsSendCount() 
    {
        return signSmsSendCount;
    }
    public void setSignFailCount(Integer signFailCount) 
    {
        this.signFailCount = signFailCount;
    }

    public Integer getSignFailCount() 
    {
        return signFailCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shopId", getShopId())
            .append("corpType", getCorpType())
            .append("status", getStatus())
            .append("cfcaSignData", getCfcaSignData())
            .append("submitTime", getSubmitTime())
            .append("verifiedTime", getVerifiedTime())
            .append("refuseTime", getRefuseTime())
            .append("statusDesc", getStatusDesc())
            .append("isShow", getIsShow())
            .append("parentShopId", getParentShopId())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("serveUser", getServeUser())
            .append("changeTime", getChangeTime())
            .append("merchantId", getMerchantId())
            .append("signSmsSendCount", getSignSmsSendCount())
            .append("signFailCount", getSignFailCount())
            .toString();
    }
}
